import request from '~/common/request';
import { handleJsonResult } from '~/common/requestHandler';

function registerPhone(params) {
  return request.get('/aaa', {
  })
  .then(handleJsonResult)
  .then(data => ({
    rows: data.list,
    totalCount: data.totalRow,
    totalPages: data.totalPage,
  }));
}

export default {
  registerPhone,
}
